package chp02.ext;

public class Ext1 {

    public static void main(String[] args) {
        //整数
        // 1个字节
        byte a = 10;

        // 2个字节
        short b = 10;

        // 4个字节
        int c = 10;

        // 8个字节
        long d = 10;

        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);

    }
}
